package org.example.emp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.example.emp.dto.EmployeeDto;
import org.example.emp.pojo.Employee;

@Mapper
public interface EmployeeMapper extends BaseMapper<Employee> {
    EmployeeDto getEmployeeById(Integer id);
    int deleteEmployeeById(Integer id);
    int updateEmployeeById(Employee employee);
}
